Integrand size = 35, antiderivative size = 85 \[ \int \frac {A+C \cos ^2(c+d x)}{\cos ^{\frac {5}{2}}(c+d x) (b \cos (c+d x))^{3/2}} \, dx=\frac {A \sin (c+d x)}{3 b d \cos ^{\frac {5}{2}}(c+d x) \sqrt {b \cos (c+d x)}}+\frac {(2 A+3 C) \sin (c+d x)}{3 b d \sqrt {\cos (c+d x)} \sqrt {b \cos (c+d x)}} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 85, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.114, Rules used = {18, 3091, 3852, 8} \[ \int \frac {A+C \cos ^2(c+d x)}{\cos ^{\frac {5}{2}}(c+d x) (b \cos (c+d x))^{3/2}} \, dx=\frac {(2 A+3 C) \sin (c+d x)}{3 b d \sqrt {\cos (c+d x)} \sqrt {b \cos (c+d x)}}+\frac {A \sin (c+d x)}{3 b d \cos ^{\frac {5}{2}}(c+d x) \sqrt {b \cos (c+d x)}} \]
[In]
[Out]
Rule 8
Rule 18
Rule 3091
Rule 3852
Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt {\cos (c+d x)} \int \left (A+C \cos ^2(c+d x)\right ) \sec ^4(c+d x) \, dx}{b \sqrt {b \cos (c+d x)}} \\ & = \frac {A \sin (c+d x)}{3 b d \cos ^{\frac {5}{2}}(c+d x) \sqrt {b \cos (c+d x)}}+\frac {\left ((2 A+3 C) \sqrt {\cos (c+d x)}\right ) \int \sec ^2(c+d x) \, dx}{3 b \sqrt {b \cos (c+d x)}} \\ & = \frac {A \sin (c+d x)}{3 b d \cos ^{\frac {5}{2}}(c+d x) \sqrt {b \cos (c+d x)}}-\frac {\left ((2 A+3 C) \sqrt {\cos (c+d x)}\right ) \text {Subst}(\int 1 \, dx,x,-\tan (c+d x))}{3 b d \sqrt {b \cos (c+d x)}} \\ & = \frac {A \sin (c+d x)}{3 b d \cos ^{\frac {5}{2}}(c+d x) \sqrt {b \cos (c+d x)}}+\frac {(2 A+3 C) \sin (c+d x)}{3 b d \sqrt {\cos (c+d x)} \sqrt {b \cos (c+d x)}} \\ \end{align*}
Time = 0.09 (sec) , antiderivative size = 51, normalized size of antiderivative = 0.60 \[ \int \frac {A+C \cos ^2(c+d x)}{\cos ^{\frac {5}{2}}(c+d x) (b \cos (c+d x))^{3/2}} \, dx=\frac {\sqrt {\cos (c+d x)} \sin (c+d x) \left (3 (A+C)+A \tan ^2(c+d x)\right )}{3 d (b \cos (c+d x))^{3/2}} \]
[In]
[Out]
Time = 8.04 (sec) , antiderivative size = 57, normalized size of antiderivative = 0.67
method | result | size |
default | \(\frac {\left (2 A \left (\cos ^{2}\left (d x +c \right )\right )+3 C \left (\cos ^{2}\left (d x +c \right )\right )+A \right ) \sin \left (d x +c \right )}{3 b d \sqrt {\cos \left (d x +c \right ) b}\, \cos \left (d x +c \right )^{\frac {5}{2}}}\) | \(57\) |
parts | \(\frac {A \left (2 \left (\cos ^{2}\left (d x +c \right )\right )+1\right ) \sin \left (d x +c \right )}{3 d b \sqrt {\cos \left (d x +c \right ) b}\, \cos \left (d x +c \right )^{\frac {5}{2}}}+\frac {C \sin \left (d x +c \right )}{d b \sqrt {\cos \left (d x +c \right ) b}\, \sqrt {\cos \left (d x +c \right )}}\) | \(79\) |
risch | \(\frac {i \left (3 C \,{\mathrm e}^{3 i \left (d x +c \right )}+\left (8 A +9 C \right ) \cos \left (d x +c \right )+i \left (4 A +3 C \right ) \sin \left (d x +c \right )\right )}{3 b \sqrt {\cos \left (d x +c \right ) b}\, \sqrt {\cos \left (d x +c \right )}\, \left ({\mathrm e}^{2 i \left (d x +c \right )}+1\right )^{2} d}\) | \(84\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 50, normalized size of antiderivative = 0.59 \[ \int \frac {A+C \cos ^2(c+d x)}{\cos ^{\frac {5}{2}}(c+d x) (b \cos (c+d x))^{3/2}} \, dx=\frac {{\left ({\left (2 \, A + 3 \, C\right )} \cos \left (d x + c\right )^{2} + A\right )} \sqrt {b \cos \left (d x + c\right )} \sin \left (d x + c\right )}{3 \, b^{2} d \cos \left (d x + c\right )^{\frac {7}{2}}} \]
[In]
[Out]
Timed out. \[ \int \frac {A+C \cos ^2(c+d x)}{\cos ^{\frac {5}{2}}(c+d x) (b \cos (c+d x))^{3/2}} \, dx=\text {Timed out} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 380 vs. \(2 (73) = 146\).
Time = 0.42 (sec) , antiderivative size = 380, normalized size of antiderivative = 4.47 \[ \int \frac {A+C \cos ^2(c+d x)}{\cos ^{\frac {5}{2}}(c+d x) (b \cos (c+d x))^{3/2}} \, dx=\frac {2 \, {\left (\frac {3 \, C \sqrt {b} \sin \left (2 \, d x + 2 \, c\right )}{b^{2} \cos \left (2 \, d x + 2 \, c\right )^{2} + b^{2} \sin \left (2 \, d x + 2 \, c\right )^{2} + 2 \, b^{2} \cos \left (2 \, d x + 2 \, c\right ) + b^{2}} + \frac {2 \, {\left ({\left (3 \, \cos \left (2 \, d x + 2 \, c\right ) + 1\right )} \sin \left (6 \, d x + 6 \, c\right ) + 3 \, {\left (3 \, \cos \left (2 \, d x + 2 \, c\right ) + 1\right )} \sin \left (4 \, d x + 4 \, c\right ) - 3 \, \cos \left (6 \, d x + 6 \, c\right ) \sin \left (2 \, d x + 2 \, c\right ) - 9 \, \cos \left (4 \, d x + 4 \, c\right ) \sin \left (2 \, d x + 2 \, c\right )\right )} A}{{\left (b \cos \left (6 \, d x + 6 \, c\right )^{2} + 9 \, b \cos \left (4 \, d x + 4 \, c\right )^{2} + 9 \, b \cos \left (2 \, d x + 2 \, c\right )^{2} + b \sin \left (6 \, d x + 6 \, c\right )^{2} + 9 \, b \sin \left (4 \, d x + 4 \, c\right )^{2} + 18 \, b \sin \left (4 \, d x + 4 \, c\right ) \sin \left (2 \, d x + 2 \, c\right ) + 9 \, b \sin \left (2 \, d x + 2 \, c\right )^{2} + 2 \, {\left (3 \, b \cos \left (4 \, d x + 4 \, c\right ) + 3 \, b \cos \left (2 \, d x + 2 \, c\right ) + b\right )} \cos \left (6 \, d x + 6 \, c\right ) + 6 \, {\left (3 \, b \cos \left (2 \, d x + 2 \, c\right ) + b\right )} \cos \left (4 \, d x + 4 \, c\right ) + 6 \, b \cos \left (2 \, d x + 2 \, c\right ) + 6 \, {\left (b \sin \left (4 \, d x + 4 \, c\right ) + b \sin \left (2 \, d x + 2 \, c\right )\right )} \sin \left (6 \, d x + 6 \, c\right ) + b\right )} \sqrt {b}}\right )}}{3 \, d} \]
[In]
[Out]
\[ \int \frac {A+C \cos ^2(c+d x)}{\cos ^{\frac {5}{2}}(c+d x) (b \cos (c+d x))^{3/2}} \, dx=\int { \frac {C \cos \left (d x + c\right )^{2} + A}{\left (b \cos \left (d x + c\right )\right )^{\frac {3}{2}} \cos \left (d x + c\right )^{\frac {5}{2}}} \,d x } \]
[In]
[Out]
Time = 2.74 (sec) , antiderivative size = 220, normalized size of antiderivative = 2.59 \[ \int \frac {A+C \cos ^2(c+d x)}{\cos ^{\frac {5}{2}}(c+d x) (b \cos (c+d x))^{3/2}} \, dx=\frac {\sqrt {b\,\cos \left (c+d\,x\right )}\,\left (18\,A\,\sin \left (2\,c+2\,d\,x\right )+12\,A\,\sin \left (4\,c+4\,d\,x\right )+2\,A\,\sin \left (6\,c+6\,d\,x\right )+15\,C\,\sin \left (2\,c+2\,d\,x\right )+12\,C\,\sin \left (4\,c+4\,d\,x\right )+3\,C\,\sin \left (6\,c+6\,d\,x\right )+A\,20{}\mathrm {i}+C\,30{}\mathrm {i}+A\,\cos \left (2\,c+2\,d\,x\right )\,30{}\mathrm {i}+A\,\cos \left (4\,c+4\,d\,x\right )\,12{}\mathrm {i}+A\,\cos \left (6\,c+6\,d\,x\right )\,2{}\mathrm {i}+C\,\cos \left (2\,c+2\,d\,x\right )\,45{}\mathrm {i}+C\,\cos \left (4\,c+4\,d\,x\right )\,18{}\mathrm {i}+C\,\cos \left (6\,c+6\,d\,x\right )\,3{}\mathrm {i}\right )}{3\,b^2\,d\,\sqrt {\cos \left (c+d\,x\right )}\,\left (15\,\cos \left (2\,c+2\,d\,x\right )+6\,\cos \left (4\,c+4\,d\,x\right )+\cos \left (6\,c+6\,d\,x\right )+10\right )} \]
[In]
[Out]